module.exports = {
	// entry: __dirname + '/websrc/index.js',
    entry: {
    	index: './websrc/index.js',
		'some-other-page': ['./websrc/some-other-page.js']
	},
	output: {
		path: __dirname + '/src/main/webapp/assets/js',
		// filename: 'bundle.js'
		filename: '[name].js'
	},

	module: {
		loaders: [
			{ 
				test: /\.js$/, 
				exclude: /node_modules/, 
				loaders: ['babel-loader'] 
			}
		]
	}
};
			